## Requirements 

This replication folder is meant to work with an `R` project and uses environment management using `renv`. The code was written using `R` version 3.6.3. The code relies on the R package `sf`, which in turn requires several system geospatial packages. If installation via `renv` does not work, see the [sf documentation](https://r-spatial.github.io/sf/) for debugging. 

## Running 

In order to run the replication files one must open the `Replication - R.Rproj` file in `RStudio` and then install `renv`. Once `renv` is installed then `Code/main.R` runs the full set of scripts and outputs figures in `Figures/`. 

## File structure

This repository is structured around three main folders: `/Code/` which contains all R scripts needed to run the replication, all sourced in `main.R`. The `/Data/` folder contains all of the data needed for replication of the figures, in general organized in subfolders by source. The `/Figures/` folder is the place for output. 

